import math
import torch
import torch.nn            as nn
import torch.nn.functional as F

from   functools import partial
from   Algorithm.CV.ImgSeg.Unet.nets.unet      import Unet

def ce_loss(inputs, target, cls_weight, num_classes=21):
    pass


def focal_loss(inputs, target, cls_weight, num_classes=21, alpha=0.5, gamma=2):
    pass


def dice_loss(inputs, target, beta=1, smooth=1e-5):
    pass


def weight_init(net, init_type="normal", init_gain=0.02):
    pass


